package com.frogs.ucenter.service.daoimpl;

import com.frogs.framework.base.dao.BaseDao;
import com.frogs.framework.base.service.daoimpl.BaseServiceImpl;
import com.frogs.ucenter.dao.GoodsEvaluateCommentDao;
import com.frogs.ucenter.entity.GoodsEvaluateComment;
import com.frogs.ucenter.service.GoodsEvaluateCommentService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Transactional(propagation=Propagation.REQUIRED, rollbackFor=Exception.class) 
@Service("goodsEvaluateCommentService")
public class GoodsEvaluateCommentServiceImpl extends BaseServiceImpl<GoodsEvaluateComment> implements GoodsEvaluateCommentService {
    @Autowired
    private GoodsEvaluateCommentDao goodsEvaluateCommentDao;

    public GoodsEvaluateCommentServiceImpl() {
        super();
    }

    public GoodsEvaluateCommentDao getGoodsEvaluateCommentDao() {
        return goodsEvaluateCommentDao;
    }

    /**
     * Don't remove or edit it.
     */
    @Override
    protected BaseDao<GoodsEvaluateComment> getBaseDao() {
        return goodsEvaluateCommentDao;
    }

    public void setGoodsEvaluateCommentDao(GoodsEvaluateCommentDao goodsEvaluateCommentDao) {
        this.goodsEvaluateCommentDao = goodsEvaluateCommentDao;
    }
}